﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WomanMotion.WebApi.Model.Dtos.Schedule
{
    /// <summary>
    /// 赛程计划更新DTO
    /// </summary>
    public class UpdateScheduleDTO : BaseUpdateDTO
    {
        /// <summary>
        /// 比赛分类ID
        /// </summary>
        [Required(ErrorMessage = "比赛分类ID不能为空")]
        public long Classid { get; set; }

        /// <summary>
        /// 计划日期
        /// </summary>
        [Required(ErrorMessage = "计划日期不能为空")]
        public DateTime Starttime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
